Moving Around Source Files
This section
discusses some special techniques for moving around source files in WinDbg.
{bmc bm4.MRB} To move to a specific line within the
source window
1. From the View menu, choose Goto Line. The Line
dialog box appears.
2. Enter the line number you wish to move to.
3. Choose OK.
{bmc bm4.MRB} To set a tag in the source window
1. Move the insertion point to the line where you
want to set a tag.
2. From the View menu, choose Toggle Tag. The
tagged line is highlighted.
You can tag
frequently accessed lines in your source file and use menu commands to move
quickly to them. Tags can be cleared when you no longer need them.
{bmc bm4.MRB} To clear a tag
1. Move the insertion point to the tagged line.
2. From the View menu, choose Toggle Tag. The tag
and the highlight are removed.
To remove all
tags in a window, choose Clear All Tags from the View menu.
{bmc bm4.MRB} To move to the next tag after the insertion
point
From the View menu, choose Next
Tag, or press F2.
{bmc bm4.MRB} To move to the previous tag before the
insertion point
From the View menu, choose
Previous Tag, or press SHIFT + F2.